package server.content.skills.fishing;

 
import server.content.skilling.PlayerSkill;
import server.event.CycleEvent;
import server.event.CycleEventContainer;
import server.event.CycleEventHandler;
import server.game.players.Client;

public class MFishing extends PlayerSkill {

	public int fishingType = -1;

	public MFishing(Client c, int skillId) {
		super(c, skillId);
	}

	@Override
	public void init() {
		if (System.currentTimeMillis() - getClient().lastThieve < 2500) {
			kill();
			return;
		}
		kill();
		switch (fishingType) {
		case 0: // Small net
			getClient().smallNetFishing.init();
			break;
		case 1: // Big net

			break;
		case 2: // Bait fishing
			break;
		case 3: // Lure fishing
			getClient().flyFishing.init();
			break;
		case 4: // Lob fishing
			getClient().cageFishing.init();
			break;
		case 5: // harpoon fishing
			getClient().harpoonFishing.init();
			break;
		}
	}

	@Override
	public void process() {
	}

	@Override
	public void kill() {
		setActive(false);
		resetAnim();
	}

}
